package com.yc.czxy.bean;

import lombok.Data;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

@Data
@Accessors(chain = true)
public class user implements Serializable {

    private Integer uid;
    @NotNull(message = "用户名不能为空")
    private String username;
    @NotNull(message = "密码不能为空")
    private String password;
    private String sex;
    private Integer state;
    private String name;
    private String udate;
    @NotNull(message = "邮箱不能为空")
    private String email;
    private String phone;
    private String qq;
    private String wechat;
    private Integer sid;


}
